package com.hkts.sinoiov.feign;

import com.hkts.management.common.utils.Result;
import com.hkts.management.common.vo.UserBasicInfoVo;

import com.hkts.sinoiov.model.TO.HontUserTo;
import com.hkts.sinoiov.model.VO.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassNameFeignInterface
 * @Description
 * @Author yck
 * @Date2020-12-07 10:58
 * @Version V1.0
 **/
@FeignClient(value="management-authentication",configuration = FeignHeadersInterceptor.class)
public interface FeignInterface {
    @GetMapping("/authentication/remoteUserInfo")
    public HontUserTo remoteUserInfo();
    @GetMapping("/authentication/remoteUserBasicInfo")
    public Result<UserBasicInfoVo> remoteUserBasicInfo();

}
